package pe.edu.upc.e41a.javasoft.service;

import java.util.List;
import org.springframework.roo.addon.layers.service.RooService;
import pe.edu.upc.e41a.javasoft.domain.Visita;

@RooService(domainTypes = { pe.edu.upc.e41a.javasoft.domain.Visita.class })
public interface VisitaService {

	public abstract long countAllVisitas();


	public abstract void deleteVisita(Visita visita);


	public abstract Visita findVisita(Integer id);


	public abstract List<Visita> findAllVisitas();


	public abstract List<Visita> findVisitaEntries(int firstResult, int maxResults);


	public abstract void saveVisita(Visita visita);


	public abstract Visita updateVisita(Visita visita);

}
